package com.woniu.service;

import com.woniu.entity.Goods;
import com.woniu.utils.MyBatisUtil;

import java.util.List;

public interface GoodsService {
    public void insertGoods(Goods goods);

    public Goods selectGoods(Integer pid,Integer uid);
    public void updateGoods(Integer goodsId, Integer pid, Integer uid);

    public List<Goods> selectGoodsAll(Integer uid);

    public void deleteGoodsByUId(Integer uid);

    public void deleteGoodsByUidPid(Integer uid, Integer pid);
    public void deleteGoodsByMerchantId(Integer merchant_id);

}
